var ohtml = document.documentElement;
getSize();
function getSize() {
    var screenWidth = ohtml.clientWidth;
    ohtml.style.fontSize = screenWidth / (720 / 100) + 'px';
}
window.onresize = function () {
    getSize();
};